package hy.dao;

import hy.bean.Emp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
@Mapper
public interface EmpDao {
    @Select("select id,name,salary from emp")
    List<Emp> selectAllEmp();
}
